<template>
	<view class="content">
		<view class="header">
			<view class="header_bg">
				<view class="search">
					<image src="../../../static/home/search.png" mode=""></image>
					<input type="text" value="" placeholder="搜素" />
				</view>
			</view>
			
			<view class="list" v-for="(item,index) in list">
				<text>{{item.title}}</text>
				<button type="default">解除关系</button>
			</view>
			
			
			<view class="xz">
				<button type="default">新增服务商</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						id:0,
						title:'A供应商名称'
					},
					{
						id:0,
						title:'A供应商名称'
					},
					{
						id:0,
						title:'A供应商名称'
					}
				]
			}
		},
		methods: {

		}
	}
</script>

<style>
	.content{
		width: 750rpx;
		height: 100vh;
		background: #FAFAFA;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}
	.header {
		width: 750rpx;
		height: 240rpx;
		background: linear-gradient(180deg, #1789FF 0%, #93C3F9 100%);
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.header_bg {
		padding-top: 40rpx;
	}

	.search {
		width: 690rpx;
		height: 88rpx;
		background: #FFFFFF;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		display: flex;
		align-items: center;
		margin: auto;


	}

	.search image {
		width: 34rpx;
		height: 34rpx;
		margin-left: 28rpx;
	}

	.search input {
		margin-left: 30rpx;
	}
	.list{
		width: 690rpx;
		height: 116rpx;
		background: #FFFFFF;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: bold;
		font-size: 32rpx;
		color: #333333;
		margin: 40rpx auto 40rpx;
		display: flex;
		align-items: center;
	}
	.list text{
		margin-left: 40rpx;
	}
	.list button{
		width: 176rpx;
		height: 64rpx;
		background: #409CFD;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FFFFFF;
		margin-left: auto;
		margin-right: 14rpx;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.xz{
		margin-top: 200rpx;
	}
	.xz button{
		width: 640rpx;
		height: 96rpx;
		background: #409CFD;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: bold;
		font-size: 32rpx;
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		
	}
</style>